package com.zhdl.modules.wallpulley.web.resp;

import lombok.Data;

import java.util.Comparator;

@Data
public class TensileDistanceResp implements Comparable<TensileDistanceResp> {
    /* 拉力值基本参数 */
    public int tensileValue;
    public int distanceValue;
    public String type;
    private int measurementId;
    private String workOrderNumber;

    /**
     * 当前时间
     */
    public String nowTime;


    /**
     * 当前时间-Long时间戳
     */
    public long nowLongTime;

    /**
     * 电池
     */
    private String battery;

    /**
     * 刚合点 A B C相
     */
    private int dataPointA;
    private int dataPointB;
    private int dataPointC;

    public int datePointAChange;
    public int datePointBChange;
    public int datePointCChange;

    @Override
    public int compareTo(TensileDistanceResp o) {
        return this.tensileValue - o.getTensileValue();
    }
}
